package com.mybatis.mapper;

import com.mybatis.pojo.CatDate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CatDateMapper {
    int insert(CatDate record);

    int insertSelective(CatDate record);

    List<CatDate> selectByBean(CatDate record);

    List<CatDate> selectWorkDay(@Param("day") String day);

    int insertBatch(@Param("list") List<CatDate> records);

    int selectNumByYear(@Param("year") String year);

    List<CatDate> selectAllDay();
}